import 'package:flutter/material.dart';
import 'package:cached_network_image/cached_network_image.dart';

import 'render_base.dart';

class RenderImages extends RenderBase {
  RenderImages({super.key, super.count = 15});
  buildItem(BuildContext context, int index) {
    return Center(
      child: Container(
        margin: const EdgeInsets.only(top: 10),
        child: SizedBox(
          height: 150,
          width: 150,
          child: CachedNetworkImage(
            imageUrl:
                "http://gips0.baidu.com/it/u=1690853528,2506870245&fm=3028&app=3028&f=JPEG&fmt=auto?w=1024&h=1024",
          ),
        ),
      ),
    );
  }
}
